import http from '../common/service/http.js';
export function getServeType(params, options) {
  return http.post('/sys/service-type/queryBasic', params, options).then(res => res.data);
}
export function upImage(params, options) { 
  return http.post('/institute/service-image/addImage', params, options).then(res => res.data);
}
export function getOrgAllList(params, options) { 
  return http.post('/institute/company/queryInstitute', params, options).then(res => res.data);
}
export function getCommunityAllList(params, options) { 
  return http.get('/sys/community/getAll', params, options).then(res => res.data);
}
export function getIUserByToken(params, options) { 
  return http.post('/institute/user/getIUserByToken', params, options).then(res => res.data);
}
export function getAgedByToken(params, options) { 
  return http.post('/aged/user/getAgedByToken', params, options).then(res => res.data);
}
export function queryIndexBannerOne(params, options) { 
  return http.post('/sys/setting/queryBannerOne', params, options).then(res => res.data);
}
export function queryIndexNotice(params, options) { 
  return http.post('/sys/news/queryNotice', params, options).then(res => res.data);
}
export function querySettingCommunity(params, options) { 
  return http.post('/sys/setting/querySettingCommunity', params, options).then(res => res.data);
}
export function searchServe(params, options) { 
  return http.post('/aged/user/search', params, options).then(res => res.data);
}